/**
 * 
 */
package com.ofek.eventos.db;

import com.ofek.eventos.EventosApplication;
import com.ofek.eventos.net.lks.test.ClientDB;

/**
 * @author Ofek
 *
 */
public class EventosDatabase extends ClientDB {

	/**
	 * @param id
	 * @param host
	 * @param port
	 * @param pendingSyncRequests
	 * @param syncedRequests
	 * @param pendingRemovalRequests
	 * @param pendingSyncEvents
	 * @param syncedEvents
	 * @param pendingRemovalEvents
	 */
	public EventosDatabase(
			final String id,
			final String host,
			final int port) {

		super(id, host, port, 
				new RequestsTable("pendingSyncRequests"), 
				new RequestsTable("syncedRequests"),
				new RequestsTable("pendingRemovalRequests"),
				new EventsTable("pendingSyncEvents"),
				new EventsTable("syncedEvents"),
				new EventsTable("pendingRemovalEvents"));
	}


	public static EventosDatabase getInstance() {
		return EventosApplication.eventosDatabase;
	}


}
